Applying a custom style

Custom styles for CLASS attributes are the only type of style that can be applied to any text block in a document, regardless of which tags control the text. The Style palette displays the names of all available CLASS styles.

Do not confuse custom styles with options such as Bold or Variable in the Text > Styles submenu; these options are predefined formatting attributes recognized by a browser.

When you apply two or more styles to the same text, the styles may conflict and produce unexpected results. See About conflicting styles.

To apply a custom style:

1 Choose Window > Styles.
2 Select the text to which you want to apply a style.
Place the cursor in a paragraph to apply the style to the entire paragraph.
To specify the exact tag to which the style should be applied, select the tag with the tag selector at the bottom left of the Document window. You can also change the tag selection with the Apply To pop-up menu in the Style palette.
If you select a range of text within a single paragraph, the style affects only the selected range.
3 Click a style name in the Style palette.

You can also apply a custom style by choosing style names from the Text > Custom Style submenu. The tag of the current selection appears next to the Custom Style command.